/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.epos.datalogic;

import e.odbo.data.dao.I_DataLogic;

import com.openbravo.data.basic.BasicException;
import com.openbravo.bean.BusinessPartner;
import com.openbravo.bean.infobean.CustomerInfo;

/**
 *
 * @author Administrator
 */
public interface I_DataLogicCustomers extends I_DataLogic{

    int updateCustomerExt(BusinessPartner customer, String clientId) throws BasicException;

    CustomerInfo findCustomerInfoByCard(String card, String clientId) throws BasicException;

    CustomerInfo findCustomerInfoByID(String id, String clientId) throws BasicException;
     
    CustomerInfo findCustomerInfoByNumberAndPass(String number,String pass, String clientId) throws BasicException;
    
    void execChangePassword(String id,String newPassword, String clientId) throws BasicException;
}
